//---Standard Vehicle Config for Flans Mod--------
//Created by Minecraft-SMP Toolbox 2.3.0.0


//---Standard-------------------------------------
// Naming
Name AMX 30
ShortName amx30T_
ItemID Your ID

Description French MBT

// Visuals
Model
ModelScale 1
Icon Icon_Vehicle_amx30

SetPlayerInvisible false

//Recipe
AddRecipeParts core 1 tanktracksT_
AddDye 10 gray


//Misc

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Model vehicles.amx30
Texture Skin_Vehicle_amx30


//Movement
MaxThrottle 0.8
MaxNegativeThrottle 0.5
Drag 15.0


//Wheels
NumWheels 4
WheelPosition 0 -35 -10 -20
WheelPosition 1 -35 -10 22
WheelPosition 2 34 -10 21
WheelPosition 3 34 -10 -21
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo


//Weapons
AllowAllAmmo False
AddAmmo france105yesT_
BarrelPosition 131 26 0
ShootDelay 1
ShellDelay 70
TurretOrigin 0 0 0
BulletSpeed 4


//Driver and Passengers
Driver 0 26 0 -360 360 -8 20
RotatedDriverOffset -10 0 12
Passengers 0
GunOrigin 0 0 0 0
DriverPart turret

//Inventory Slots
CargoSlots 0
ShellSlots 2
FuelTankSize 2000






//Health and Collision
SetupPart core 1950 -58 -11 -25 112 36 50
SetupPart turret 1950 -24 25 -20 44 13 40
BulletDetection 7
RecoilDistance 5
RecoilTime 5
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 0
CanRoll true

//Misc
CameraDistance 9.5


//Sounds
StartSound EngineBigtenk
StartSoundLength 20
EngineSound EngineBigtenk
EngineSoundLength 20
ShootSoundPrimary TankMediumShell
ShootSoundSecondary M60Shoot

//------------------------------------------------

//---Vehicle--------------------------------------
//Visuals
RotateWheels True


//Movement
TurnLeftSpeed 0.6
TurnRightSpeed 0.6
FourWheelDrive True


//Misc
Tank True
ShootDelay 1
ShellDelay 90

//Turret rotation stuff
DriverAimSpeed 1.5 1.5 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20


//Sound


AddSmokePoint [-8,33,24] [1,0.75,-0.05] 20 turret
AddSmokePoint [-8,29,-24] [0.7,0.75,-0.3] 20 turret
AddSmokePoint [-11,27,24] [0.5,0.75,-0.5] 20 turret
AddSmokePoint [-11,33,-24] [1,0.75,0.05] 20 turret
AddSmokePoint [-15,29,24] [0.7,0.75,0.3] 20 turret
AddSmokePoint [-15,27,-24] [0.5,0.75,0.5] 20 turret
HasFlare true

//Barrel
ShootParticlesSecondary crit 0.5 0 0
BarrelPosition 111 23 -1

ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 1 0 0
ShootParticlesPrimary flansmod.fmflame 1.75 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.75 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0 -0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.1 0
ShootParticlesPrimary flansmod.fmflame 0.5 0.1 0
ShootParticlesPrimary flansmod.fmflame 0.05 0 0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0 -0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.2 0
ShootParticlesPrimary flansmod.fmflame 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 0.1 0 0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0 -0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.4 0
ShootParticlesPrimary flansmod.fmflame 0.1 0.4 0


//Basic emission
AddEmitter smoke 1 [-60,15,23] [1,1,1] [0,0.5,0] -1 1 0 1 core

AddEmitter smoke 1 [-60,15,-23] [1,1,1] [0,0.5,0] -1 1 0 1 core


//1st gear change

AddEmitter largesmoke 1 [-60,15,-23] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

AddEmitter largesmoke 1 [-60,15,23] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

//1st gear

AddEmitter explode 1 [-60,15,-23] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

AddEmitter explode 1 [-60,15,23] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

//2nd gear change

AddEmitter largesmoke 1 [-60,15,-23] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

AddEmitter largesmoke 1 [-60,15,23] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

//2nd gear

AddEmitter explode 1 [-60,15,-23] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core

AddEmitter explode 1 [-60,15,23] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core


//3rd gear change

AddEmitter largesmoke 1 [-60,15,-23] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter largesmoke 1 [-60,15,23] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter flame 1 [-60,15,-23] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

AddEmitter flame 1 [-60,15,23] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

//3rd gear
AddEmitter explode 1 [-60,15,-23] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter explode 1 [-60,15,23] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter largesmoke 3 [-60,15,-23] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

AddEmitter largesmoke 3 [-60,15,23] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

//4th gear change

AddEmitter largesmoke 1 [-60,15,-23] [1,1,1] [0,5,0] 0.7 0.75 0 1 core

AddEmitter largesmoke 1 [-60,15,23] [1,1,1] [0,5,0] 0.7 0.77 0 1 core

AddEmitter flame 1 [-60,15,-23] [1,1,1] [0,5,0] 0.7 0.73 0 1 core

AddEmitter flame 1 [-60,15,23] [1,1,1] [0,5,0] 0.7 0.73 0 1 core



//dodgy one
RightLinkPoint [50.5,7.5,-24]
RightLinkPoint [53,4.5,-24]
RightLinkPoint [53,1.5,-24]
RightLinkPoint [50.5,-1.5,-24]
RightLinkPoint [35,-9,-24]
RightLinkPoint [-46,-9,-24]
RightLinkPoint [-61,-3,-24]
RightLinkPoint [-64,1,-24]
RightLinkPoint [-64,5,-24]
RightLinkPoint [-61,9,-24]
RightLinkPoint [-55,9,-24]
RightLinkPoint [-32.5,8.5,-24]
RightLinkPoint [39.5,8.5,-24]
RightLinkPoint [45.5,7.5,-24]
RightLinkPoint [50.5,7.5,-24]
LeftLinkPoint [50.5,7.5,26]
LeftLinkPoint [53,4.5,26]
LeftLinkPoint [53,1.5,26]
LeftLinkPoint [50.5,-1.5,26]
LeftLinkPoint [35,-9,26]
LeftLinkPoint [-46,-9,26]
LeftLinkPoint [-61,-3,26]
LeftLinkPoint [-64,1,26]
LeftLinkPoint [-64,5,26]
LeftLinkPoint [-61,9,26]
LeftLinkPoint [-55,9,26]
LeftLinkPoint [-32.5,8.5,26]
LeftLinkPoint [39.5,8.5,26]
LeftLinkPoint [45.5,7.5,26]
LeftLinkPoint [50.5,7.5,26]
TrackLinkLength 5
FlipLinkFix true
//------------------------------------------------